.clearfix {
  @include clearfix;
}

.filter-bar {
  display: inline-block;
  color: #fff;

  .filters.hideme {
    height: 0px;
    overflow: hidden;
  }

  .filters {
    display: inline-block;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0px;
  }

  .inner {
    position: relative;

    &.viewme {
      span {
        &:after {
          transform: translateY(3px) rotate(0deg);
        }
      }
    }

    span {
      display: inline-block;
      position: relative;
      &:after{
        transition: all .3s linear;
        content: "";
        display: inline-block;
        position: absolute;
        width: 0;
        height: 0;
        top: 42%;
        right: -1.2rem;
        border-top: .4rem solid #fff;
        border-right: .4rem solid transparent;
        border-left: .4rem solid transparent;
        border-bottom: none;
        transform: translateY(5px) rotate(-45deg);
      }
      /* &:after {
        background-image: url(../misc/images/icon-arrow-right-white.png);
        background-size: .8rem;
        background-repeat: no-repeat;
        background-position: right center;
        position: absolute;
        content: " ";
        display: inline-block;
        width: .8rem;
        height: .8rem;
        top: 65%;
        margin-top: -.5rem;
        right: -1rem;
        transform: rotate(45deg);      
      } */
    }
  }
}

.hgsport-header {
  text-align: center;
  background: #bb8233;

  .filter-bar {
    width: 9.33rem;
    height: 3.7rem;
    line-height: 4rem;
    position: absolute;
    left: 50%;
    margin-left: -4.66rem;

    .filters {
      display: inline-block;
      position: absolute;
      top: 3.7rem;
      width: 100%;
      left: 0px;
      z-index: 111;
      background: #bb8233;
    }

    .filter-item {
      border-top: 1px solid #af7932;
      height: 2.3rem;
      line-height: 2.5rem;

      &:last-child {
        // border-bottom: 1px solid #af7932;
      }
    }
  }
}

.hg-page {
  .page-body {
    background: #f5f5f5;
  }

  .icon {
    height: 1rem;
    width: 1rem;
    display: inline-block;
    background-size: 100%;
  }
}

.realtile-ball-group {
  margin-top: .67rem;
  background: #fff;

  .title-wrap {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid #c3c3c3;
  }

  .title {
    position: relative;
    @include clearfix;

    .icon-football {
      position: absolute;
      left: 0px;
      top:0px;
    }

    .icon-arrow-right {
      background-image: url(../misc/images/icon-arrow-right.png);
      position: absolute;
      right: 0px;
      top: 0px;
    }

    .icon-arrow-down {
      @extend .icon-arrow-right;
      background-image: url(../misc/images/icon-arrow-down.png);
      width: 1rem;
      height: 1rem;
    }

    h3 {
      margin-left: 1.67rem;
    }

  }
  .wrap{
    padding-bottom: 3rem;
  }
}

.icon-football {
  background-image: url(../misc/images/icon-football.png);
}

.realtime-ball {
  .title {
    background: #fbdc43;
    padding: .5rem .6rem;

    .misc {
      span {
        display: inline-block;
        margin-right: 0.4rem;

        &.label {
          color: #d60d02;
        }
      }
    }

    h3 {
      margin-left: 0px;
      margin-top: 0.2rem;
    }
  }

  .score-board {

    .score-board {
      width: 100%;

      th, td {
        border: 1px solid #c3c3c3;
        height: 2.2rem;
        text-align: center;
        vertical-align: middle;

        span {
          margin-right: 5px;
        }
      }
    }

    .pink-board {
      background: #fffcc7;
    }
  }
}

.score-board-items-wrapper {
  transition: all .3s linear;
  overflow: hidden;
  height: auto !important;
}

.score-board-items-wrapper.hideself {
  height: 0px !important;
}

.hgsport-header {
  h3 {
    padding-left: 0px;
  }
}

.order-info-board {
  .wrap {
    padding: 1rem 1.5rem;
    background: #f5f5f5;
  }
}

.create-order-page.hg-page {
  .user-info {
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    background: #fff;
    color: #999896;

    span {
      margin-right: 1rem;

      &:last-child {
        margin-right: 0px;
      }
    }
  }
}

.order-info-panel {
  
  margin-bottom: .8rem;

  .title {
    background: #a9a9a9;
    padding: .5rem 0px .5rem 1.5rem;
    color: #fff;
  }

  .row {
    border: 1px solid #eee;
    padding: .8rem 0px .8rem 1.5rem;
  }

  input {
    text-align: right;
    padding-right: 1rem;
    height: 3rem;
    line-height: 3rem;
    width: 100%;
    box-sizing: border-box;
  }

  .form-label {
    padding: 0.5rem 0px;
  }

  .form-tip {
    @include clearfix;
    color: #a9a9a9;
  }

  .left {
    float: left;
  }

  .right {
    float: right;
  }
}

.btn-hg {
  background: #bb8233;
  color: #fff;
}

#burge-menu-content.is-open {
  filter: blur(10px);
}

.hg-buger-items li {
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #9e9e9e;
  margin-bottom: 1rem;

  &.active {
    background: #0093dd;
    border: 1px solid #0093dd;
  }

  span {
    color: #fff;
  }
}

#burger-menu-wrap {

}

.hg-buger-menu.is-open {
  .bm-menu-wrap {
    box-shadow: -9px 0px 5px 2px #373a47;
  }
}

.hg-buger-menu {

  .bm-cross-button {
    left: 0px;
    background: url(../misc/images/icon-buger-close-btn.png); 
    background-size: 100%;

    > span {
      display: none;
    }
  }
}

.red {
  color: #f00;

  a {
    color: #f00;
  }
}

.rendering {
  visibility: hidden;

  .hideself {
    height: auto;
  }
}

.hgsport-order-date-picker {
  
  margin-top: .8rem;

  .wrap {
    width: 50%;
    padding: 0.47rem .5rem;
    box-sizing: border-box;
    float: left;
  }
}

.warning {
  text-align: center;
}

.order-item {
  .pl3-order-detail {
    .pl3-table-back{
      background: #eee;
    }
    tbody {
      td:first-child {
        text-align: center;
      }
    }

    > .pl3-table {

      > thead{
        border:1px solid #aaa;
        border-top: none;
      }
      tbody {
        border: 1px solid #a9a9a9;
      }
      td {
        border: none;
      }
    }
    .table-item{
      margin-bottom: .6rem;
      background: #fff;
      tbody{
        border: none;
      }
      td{
        padding-left: 1rem;
        text-align: left !important;
      }
    }
  }
}

